package com.base.self.dto.selfOrder;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class DeliverOrderDTO implements Serializable {
    @NotNull
    @ApiModelProperty(value="订单id", example = "0")
    private Integer id;

    @NotBlank(message = "快递单号不能为空")
    @ApiModelProperty(value="快递单号", example = "0")
    private String expressOrder;

    @NotBlank(message = "快递公司不能为空")
    @ApiModelProperty(value="快递公司", example = "0")
    private String expressNumber;
}
